package com.fei.mapper;

import com.fei.bean.AttentionBean;
import org.springframework.stereotype.Repository;

@Repository
public interface AttentionMapper {

//    根据用户phone和歌手id查询是否关注过
    public Integer selectOnePhoneAndSingerId(AttentionBean attentionBean);

//    用户关注添加用户关注的信息
    public int insertUserAttention(AttentionBean attentionBean);

//    用户取消关注，删除用户关注信息
    public int deleteUserAttention(AttentionBean attentionBean);

}
